![]() |
GetWindowRegion |
||||
Header: | MacWindows.h | Carbon status: | Supported | |
Obtains a handle to a specific window region.
OSStatus GetWindowRegion ( WindowRef window, WindowRegionCode inRegionCode, ioWinRgn );
A pointer to the window to be examined.
A constant representing the window region whose handle you wish to obtain; see
On input, a handle to a region created by your application. On return, the handle is set to the specified window region.
A result code.
The GetWindowRegion function produces a handle to a window definition function’s window region in response to a kWindowMsgGetRegion message. The visibility of the window is unimportant for GetWindowRegion to work correctly.
This function is available with Appearance Manager 1.0 and later.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)